package com.fdd.furns.utils;

import javax.servlet.http.HttpServletRequest;

public class WebUtils {
    public static String FURN_IMG_DIRECTORY = "assets/images/product-image";

    public static boolean isAjax(HttpServletRequest req){
        return "XMLHttpRequest".equals(req.getHeader("X-Requested-With"));
    }
}
